package io.jboot.test.codegen.service.impl;

import com.jfinal.plugin.activerecord.Page;
import io.jboot.aop.annotation.Bean;
import io.jboot.service.JbootServiceBase;
import io.jboot.test.codegen.model.User;
import io.jboot.test.codegen.service.UserService;


@Bean
public class UserServiceImpl extends JbootServiceBase<User> implements UserService {

    public Page<User> pageinate(int page, int size) {
        return DAO.paginate(page, size);
    }

}
